$(document).ready(function(){
    $('#user_button').click(function(){
        if($('#upload_image').attr('data-url')){
            $('#User_avatar_large').val($('#upload_image').attr('data-url'));
        }
        
    });
    
    $('#picture_button').click(function(){
        if($('#upload_image').attr('data-url')){
            $('#Picture_thumb').val($('#upload_image').attr('data-url'));
        }
    });
    
    
    
    
    
});